FROM alpine:3.11.13
RUN sed -i "s@dl-cdn.alpinelinux.org@mirrors.aliyun.com@g" /etc/apk/repositories \
&& apk --update add --no-cache python2 subversion py-subversion apache2-utils wget \
&& wget -c http://mirrors.aliyun.com/pypi/get-pip.py \
&& python get-pip.py -i https://pypi.tuna.tsinghua.edu.cn/simple \
&& pip install -i https://pypi.tuna.tsinghua.edu.cn/simple Genshi trac[docutils,babel,rest,pygments,textile] \
&& apk del wget \
&& rm get-pip.py
ADD files.tar.gz /
EXPOSE 3690 8000
